package com.drug.mingkang.model.vo;

import java.io.Serializable;

public class HqDrugVo implements Serializable {

    /**
     * 页
     */
    private int page;

    /**
     * 行
     */
    private int limit;

    /**
     * 药品名字
     */
    private String drugName;

    /**
     * 药品类型名称
     */
    private String typeName;

    /**
     * 大于这个价格
     */
    private Double priceMin;

    /**
     * 小于这个价格
     */
    private Double priceMax;

    /**
     * 分公司库存数量
     */
    private Integer count;

    /**
     * 公司ID
     */
    private String immId;

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getImmId() {
        return immId;
    }

    public void setImmId(String immId) {
        this.immId = immId;
    }

    /**
     * 药品类型Id
     */
    private String typeId;

    /**
     *  药品库存数量
     */
    private String drugNum;

    public String getDrugNum() {
        return drugNum;
    }

    public void setDrugNum(String drugNum) {
        this.drugNum = drugNum;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public int getPage() {
        return (page-1)*limit;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Double getPriceMin() {
        return priceMin;
    }

    public void setPriceMin(Double priceMin) {
        this.priceMin = priceMin;
    }

    public Double getPriceMax() {
        return priceMax;
    }

    public void setPriceMax(Double priceMax) {
        this.priceMax = priceMax;
    }


    @Override
    public String toString() {
        return "HqDrugVo{" +
                "page=" + page +
                ", limit=" + limit +
                ", drugName='" + drugName + '\'' +
                ", typeName='" + typeName + '\'' +
                ", priceMin=" + priceMin +
                ", priceMax=" + priceMax +
                '}';
    }
}
